package mobi.bantu.dao.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import mobi.bantu.bean.task.Report;

@Mapper
public interface ReportMapper {
    List<Report> list(Map param);

    void save(Report report);

    Report getById(@Param("id") Long reportId);

    int count(Map<String,Object> param);

    int update(Report report);

    int delete(@Param("id") Long id);
}
